package com.bole.springboot_webflux.model;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

@Table("attachment")
public class AttachmentModel {

    @Id
    private String id;

    protected Integer version;
    protected String creatorName;
    protected Long creatorDepartmentId;
    protected String creatorDepartmentName;
    protected String updaterName;
    protected Long updaterDepartmentId;
    protected String updaterDepartmentName;

    /**
     * <pre>
     * 文件大类编码
     * 表字段: attachment.owner_code
     * </pre>
     * 
     */
    private String ownerCode;

    /**
     * <pre>
     * 文件大类名称
     * 表字段: attachment.owner_name
     * </pre>
     * 
     */
    private String ownerName;

    /**
     * <pre>
     * 文件小类编码
     * 表字段: attachment.small_type_code
     * </pre>
     * 
     */
    private String smallTypeCode;

    /**
     * <pre>
     * 文件小类名称
     * 表字段: attachment.small_type_name
     * </pre>
     * 
     */
    private String smallTypeName;

    /**
     * <pre>
     * 订单号
     * 表字段: attachment.apply_no
     * </pre>
     * 
     */
    private String applyNo;

    /**
     * <pre>
     * 数据标识
     * 表字段: attachment.data_id
     * </pre>
     * 
     */
    private String dataId;

    /**
     * <pre>
     * 流程编号
     * 表字段: attachment.flow_num
     * </pre>
     * 
     */
    private String flowNum;

    /**
     * <pre>
     * 文件名
     * 表字段: attachment.file_name
     * </pre>
     * 
     */
    private String fileName;

    /**
     * <pre>
     * 带后缀的文件名
     * 表字段: attachment.original_filename
     * </pre>
     * 
     */
    private String originalFilename;

    /**
     * <pre>
     * 上传日间
     * 表字段: attachment.upload_date
     * </pre>
     * 
     */
    private LocalDateTime uploadDate;

    /**
     * <pre>
     * 上传人账号
     * 表字段: attachment.user_account
     * </pre>
     * 
     */
    private String userAccount;

    /**
     * <pre>
     * 上传人名称
     * 表字段: attachment.user_name
     * </pre>
     * 
     */
    private String userName;

    /**
     * <pre>
     * 文件id
     * 表字段: attachment.url
     * </pre>
     * 
     */
    private String url;

    /**
     * <pre>
     * 
     * 表字段: attachment.full_url
     * </pre>
     * 
     */
    private String fullUrl;

    /**
     * <pre>
     * 备注
     * 表字段: attachment.remark
     * </pre>
     * 
     */
    private String remark;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Long getCreatorDepartmentId() {
        return creatorDepartmentId;
    }

    public void setCreatorDepartmentId(Long creatorDepartmentId) {
        this.creatorDepartmentId = creatorDepartmentId;
    }

    public String getCreatorDepartmentName() {
        return creatorDepartmentName;
    }

    public void setCreatorDepartmentName(String creatorDepartmentName) {
        this.creatorDepartmentName = creatorDepartmentName;
    }

    public String getUpdaterName() {
        return updaterName;
    }

    public void setUpdaterName(String updaterName) {
        this.updaterName = updaterName;
    }

    public Long getUpdaterDepartmentId() {
        return updaterDepartmentId;
    }

    public void setUpdaterDepartmentId(Long updaterDepartmentId) {
        this.updaterDepartmentId = updaterDepartmentId;
    }

    public String getUpdaterDepartmentName() {
        return updaterDepartmentName;
    }

    public void setUpdaterDepartmentName(String updaterDepartmentName) {
        this.updaterDepartmentName = updaterDepartmentName;
    }

    public String getOwnerCode() {
        return ownerCode;
    }

    public void setOwnerCode(String ownerCode) {
        this.ownerCode = ownerCode;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getSmallTypeCode() {
        return smallTypeCode;
    }

    public void setSmallTypeCode(String smallTypeCode) {
        this.smallTypeCode = smallTypeCode;
    }

    public String getSmallTypeName() {
        return smallTypeName;
    }

    public void setSmallTypeName(String smallTypeName) {
        this.smallTypeName = smallTypeName;
    }

    public String getApplyNo() {
        return applyNo;
    }

    public void setApplyNo(String applyNo) {
        this.applyNo = applyNo;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getFlowNum() {
        return flowNum;
    }

    public void setFlowNum(String flowNum) {
        this.flowNum = flowNum;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getOriginalFilename() {
        return originalFilename;
    }

    public void setOriginalFilename(String originalFilename) {
        this.originalFilename = originalFilename;
    }

    public LocalDateTime getUploadDate() {
        return uploadDate;
    }

    public void setUploadDate(LocalDateTime uploadDate) {
        this.uploadDate = uploadDate;
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getFullUrl() {
        return fullUrl;
    }

    public void setFullUrl(String fullUrl) {
        this.fullUrl = fullUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

}